#!/bin/sh
ppid=$1
for i in `ps -ef| awk '$3 == '${ppid}' { print $2 }'`
	do
	kill -9 $i
done
